#!/usr/bin/make -f

# to re-generate debian/control, invoke
# fakeroot debian/rules debian/control DEB_AUTO_UPDATE_DEBIAN_CONTROL:=yes

DEB_PYTHON_SYSTEM = pycentral
DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(CURDIR)/debian/ulipad

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/rules/dpatch.mk

debian/ulipad.png: debian/ulipad.png.uuencode
	uudecode -o $@ $<

build/ulipad:: debian/ulipad.png

clean::
	rm -f debian/ulipad.png

binary-install/ulipad::
	dh_pycentral -pulipad
	dh_desktop -pulipad
	dh_iconcache -pulipad

